package cn.wolfcode.service;

import cn.wolfcode.domain.Role;
import cn.wolfcode.qo.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IRoleService {
    void insert(Role role, Long[] permissionIds);
    void update(Role role,Long[] permissionIds);
    void delete(Long id);
    Role selectOne(Long id);
    List<Role> selectList();
    PageInfo<Role> query(QueryObject qo);


    List<Role> queryByEmployeeId(Long employeeId);

}
